package com.itheima.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Result;
import com.itheima.pojo.Brand;

/**
 * 功能描述 品牌服务层接口
 *
 * @auther TSV
 * @date 2021/8/16
 */
public interface BrandService extends IService<Brand> {

    Result findAll();

    Boolean add(Brand brand);

    Result findPage(Long page, Long size);

    Result findById(Integer id);

    Boolean updateBrand(Integer id, Brand brand);

    Boolean deleteBrand(Integer id);
}
